package com.example.administrator.xiaoxiang.data;

import java.util.List;

/**
 * Created by Administrator on 2017/1/6.
 */

public class RebateDate {

    private BodyBean body;
    /**
     * message :
     * code : 200
     */

    private HeadsBean heads;

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public HeadsBean getHeads() {
        return heads;
    }

    public void setHeads(HeadsBean heads) {
        this.heads = heads;
    }

    public static class BodyBean {
        /**
         * directPaymentCash : 83.0
         * index : 0
         * originalPrice : 279900
         * status : 1
         * thumbnailUrl : http://img.xiaoxiangyoupin.com/image/3e021db2-14d4-40e9-94ca-5c1f1745862a.jpg
         * goodId : 1306
         * goodsCode : 10993
         * type : 5
         * rebateCash : 69.0
         * goodsName : 【Samsung】三星 Galaxy C7  白64G
         */

        private List<RebateGoodsBean> rebateGoods;

        public List<RebateGoodsBean> getRebateGoods() {
            return rebateGoods;
        }

        public void setRebateGoods(List<RebateGoodsBean> rebateGoods) {
            this.rebateGoods = rebateGoods;
        }

        public static class RebateGoodsBean {
            private double directPaymentCash;
            private int index;
            private int originalPrice;
            private int status;
            private String thumbnailUrl;
            private int goodId;
            private String goodsCode;
            private int type;
            private double rebateCash;
            private String goodsName;

            public double getDirectPaymentCash() {
                return directPaymentCash;
            }

            public void setDirectPaymentCash(double directPaymentCash) {
                this.directPaymentCash = directPaymentCash;
            }

            public int getIndex() {
                return index;
            }

            public void setIndex(int index) {
                this.index = index;
            }

            public int getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(int originalPrice) {
                this.originalPrice = originalPrice;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getThumbnailUrl() {
                return thumbnailUrl;
            }

            public void setThumbnailUrl(String thumbnailUrl) {
                this.thumbnailUrl = thumbnailUrl;
            }

            public int getGoodId() {
                return goodId;
            }

            public void setGoodId(int goodId) {
                this.goodId = goodId;
            }

            public String getGoodsCode() {
                return goodsCode;
            }

            public void setGoodsCode(String goodsCode) {
                this.goodsCode = goodsCode;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public double getRebateCash() {
                return rebateCash;
            }

            public void setRebateCash(double rebateCash) {
                this.rebateCash = rebateCash;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }
        }
    }

    public static class HeadsBean {
        private String message;
        private int code;

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
}
